home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: cumbrae.dcs.ed.ac.uk!cdc
- From: cdc@dcs.ed.ac.uk (Christopher Carr)
- Subject: Reading file protection flags
- X-Nntp-Posting-Host: cumbrae.dcs.ed.ac.uk
- Message-ID: <DpLCzs.Lxn.0.staffin.dcs.ed.ac.uk@dcs.ed.ac.uk>
- Sender: cdc@cumbrae.dcs.ed.ac.uk (Christopher Carr)
- Organization: Department of Computer Science, University of Edinburgh
- X-Newsreader: xrn 8.00
- Date: Tue, 9 Apr 1996 10:55:02 GMT
-
- I am trying to read the file protection flags in C using
- fib_lProtection & FIBF_DELETE etc, but I get the wrong results
- on delete, read, write and execute. But if I take the inverse of these
- results I get the correct values. Is this another OS slip up since the rest
- of the protection bits can bre read correctly, or am I doing it incorrectly?
-